<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!-- Apple devices fullscreen -->
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- Apple devices fullscreen -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" media="screen"/>
<link href="/public/plugins/layui/css/layui.css?v=v1.6.3" rel="stylesheet" type="text/css">
<link href="/public/static/admin/css/main.css?v=v1.6.3" rel="stylesheet" type="text/css">
<link href="/public/static/admin/css/page.css?v=v1.6.3" rel="stylesheet" type="text/css">
<link href="/public/static/admin/font/css/font-awesome.min.css?v=v1.6.3" rel="stylesheet" />
<link href="/public/static/admin/font/css/iconfont.css?v=v1.6.3" rel="stylesheet" />
<!--[if IE 7]>
  <link rel="stylesheet" href="/public/static/admin/font/css/font-awesome-ie7.min.css?v=v1.6.3">
<![endif]-->
<script type="text/javascript">
    var eyou_basefile = "/login.php";
    var module_name = "admin";
    var GetUploadify_url = "/uploads.html";
    // 插件专用旧版上传图片框
    if ('Weapp@execute' == "Member@attr_index") {
      GetUploadify_url = "/uploads.html";
    }
    var __root_dir__ = "";
    var __lang__ = "cn";
    var __seo_pseudo__ = 1;
    var __web_xss_filter__ = 0;
    var __is_mobile__ = 0;
    var __security_ask_open__ = 0;
</script>  
<link href="/public/static/admin/js/jquery-ui/jquery-ui.min.css?v=v1.6.3" rel="stylesheet" type="text/css"/>
<link href="/public/static/admin/js/perfect-scrollbar.min.css?v=v1.6.3" rel="stylesheet" type="text/css"/>
<!-- <link type="text/css" rel="stylesheet" href="/public/plugins/tags_input/css/jquery.tagsinput.css?v=v1.6.3"> -->
<style type="text/css">html, body { overflow: visible;}</style>
<link href="/public/static/admin/css/diy_style.css?v=v1.6.3" rel="stylesheet" type="text/css" />

<!-- 官方内置样式表，升级会覆盖变动，请勿修改，否则后果自负 -->

<style type="text/css">
	/*左侧收缩图标*/
	#foldSidebar i { font-size: 24px;color:#3398cc; }
    /*左侧菜单*/
    .eycms_cont_left{ background:#3398cc; }
    .eycms_cont_left dl dd a:hover,.eycms_cont_left dl dd a.on,.eycms_cont_left dl dt.on{ background:#2189be; }
    .eycms_cont_left dl dd a:active{ background:#2189be; }
    .eycms_cont_left dl.jslist dd{ background:#3398cc; }
    .eycms_cont_left dl.jslist dd a:hover,.eycms_cont_left dl.jslist dd a.on{ background:#2189be; }
    .eycms_cont_left dl.jslist:hover{ background:#2189be; }
    /*栏目操作*/
    .cate-dropup .cate-dropup-con a:hover{ background-color: #3398cc; }
    /*按钮*/
    a.ncap-btn-green { background-color: #3398cc; }
    a:hover.ncap-btn-green { background-color: #2189be; }
    .flexigrid .sDiv2 .btn:hover { background-color: #3398cc; }
    .flexigrid .mDiv .fbutton div.add{background-color: #3398cc; border: none;}
    .flexigrid .mDiv .fbutton div.add:hover{ background-color: #2189be;}
	.flexigrid .mDiv .fbutton div.adds{color:#3398cc;border: 1px solid #3398cc;}
	.flexigrid .mDiv .fbutton div.adds:hover{ background-color: #3398cc;}
    /*选项卡字体*/
    .tab-base a.current,
    .tab-base a:hover.current {color:#3398cc !important;}
    .tab-base a.current:after,
    .tab-base a:hover.current:after {background-color: #3398cc;}
    .addartbtn input.btn:hover{ border-bottom: 1px solid #3398cc; }
    .addartbtn input.btn.selected{ color: #3398cc;border-bottom: 1px solid #3398cc;}
	/*会员导航*/
	.member-nav-group .member-nav-item .btn.selected{background: #3398cc;border: 1px solid #3398cc;box-shadow: -1px 0 0 0 #3398cc;}
	.member-nav-group .member-nav-item:first-child .btn.selected{border-left: 1px solid #3398cc !important;}
	/*搜索按钮图标*/
	.flexigrid .sDiv2 .fa-search{}
        
    /* 商品订单列表标题 */
   .flexigrid .mDiv .ftitle h3 {border-left: 3px solid #3398cc;} 
	
    /*分页*/
    .pagination > .active > a, .pagination > .active > a:focus, 
	.pagination > .active > a:hover, 
	.pagination > .active > span, 
	.pagination > .active > span:focus, 
	.pagination > .active > span:hover { border-color: #3398cc;color:#3398cc; }
    
    .layui-form-onswitch {border-color: #3398cc !important;background-color: #3398cc !important;}
    .onoff .cb-enable.selected { background-color: #3398cc !important;border-color: #3398cc !important;}
    .onoff .cb-disable.selected {background-color: #3398cc !important;border-color: #3398cc !important;}
    .pcwap-onoff .cb-enable.selected { background-color: #3398cc !important;border-color: #3398cc !important;}
    .pcwap-onoff .cb-disable.selected {background-color: #3398cc !important;border-color: #3398cc !important;}
    input[type="text"]:focus,
    input[type="text"]:hover,
    input[type="text"]:active,
    input[type="password"]:focus,
    input[type="password"]:hover,
    input[type="password"]:active,
    textarea:hover,
    textarea:focus,
    textarea:active { border-color:rgba(51,152,204,0.8);box-shadow: 0 0 0 1px rgba(51,152,204,0.5) !important;}
    .input-file-show:hover .type-file-button {background-color:#3398cc !important; }
    .input-file-show:hover {border-color: #3398cc !important;box-shadow: 0 0 5px rgba(51,152,204,0.5) !important;}
    .input-file-show:hover span.show a,
    .input-file-show span.show a:hover { color: #3398cc !important;}
    .input-file-show:hover .type-file-button {background-color: #3398cc !important; }
    .color_z { color: #3398cc !important;}
    a.imgupload{
        background-color: #3398cc !important;
        border-color: #3398cc !important;
    }
    /*专题节点按钮*/
    .ncap-form-default .special-add{background-color:#3398cc;border-color:#3398cc;}
    .ncap-form-default .special-add:hover{background-color:#2189be;border-color:#2189be;}
    
    /*更多功能标题*/
    .on-off_panel .title::before {background-color:#3398cc;}
    .on-off_panel .on-off_list-caidan .icon_bg .on{color: #3398cc;}
    .on-off_panel .e-jianhao {color: #3398cc;}
    
     /*内容菜单*/
    .ztree li a:hover{color:#3398cc !important;}
    .ztree li a.curSelectedNode{background-color: #3398cc !important; border-color:#3398cc !important;}
    .layout-left .on-off-btn {background-color: #3398cc !important;}

    .iframe_loading{
        width:100%;
        background:url(/public/static/admin/images/loading-0.gif) no-repeat center center;
    }
    
    .layui-btn-normal {background-color: #3398cc;}
    
    /* 商品规格按钮 */
    /* .preset-bt{border-color: #3398cc !important;background:#3398cc;} */
</style>
<script type="text/javascript" src="/public/static/admin/js/jquery.js?v=v1.6.3"></script>
<!-- <script type="text/javascript" src="/public/plugins/tags_input/js/jquery.tagsinput.js?v=v1.6.3"></script> -->
<script type="text/javascript" src="/public/static/admin/js/jquery-ui/jquery-ui.min.js?v=v1.6.3"></script>
<script type="text/javascript" src="/public/plugins/layer-v3.1.0/layer.js?v=v1.6.3"></script>
<script type="text/javascript" src="/public/static/admin/js/jquery.cookie.js?v=v1.6.3"></script>
<script type="text/javascript" src="/public/static/admin/js/admin.js?v=v1.6.3"></script>
<script type="text/javascript" src="/public/static/admin/js/jquery.validation.min.js?v=v1.6.3"></script>
<script type="text/javascript" src="/public/static/admin/js/common.js?v=v1.6.3"></script>
<script type="text/javascript" src="/public/static/admin/js/perfect-scrollbar.min.js?v=v1.6.3"></script>
<script type="text/javascript" src="/public/static/admin/js/jquery.mousewheel.js?v=v1.6.3"></script>
<script type="text/javascript" src="/public/plugins/layui/layui.js?v=v1.6.3"></script>
<script src="/public/static/admin/js/myFormValidate.js?v=v1.6.3"></script>
<script src="/public/static/admin/js/myAjax2.js?v=v1.6.3"></script>
<script src="/public/static/admin/js/global.js?v=v1.6.3"></script>
</head>
<body class="bodystyle" style="cursor: default; -moz-user-select: inherit;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="sidebar-second ">
    <ul>
        <li class="sidebar-second-title">会员中心</li>

                <li>
            <a  href='user.html'>会员列表</a>
        </li>
                <li>
            <a  href='level.html'>会员级别</a>
        </li>
                <li>
            <a class="active" href='attr.html'>会员字段</a>
        </li>
                <li>
            <a  href='userconfig.html'>功能配置</a>
        </li>
            </ul>
</div>
<div class="page min-hg-c-10" style="min-width:auto;margin-left:100px;">
    <!-- <div class="fixed-bar">
        <div class="item-title">
            <ul class="tab-base nc-row">
                                <li>
                    <a class="current" href='/login.php?m=admin&c=Member&a=attr_index&lang=cn'>
                        <span>会员属性</span>
                    </a>
                </li>
                            </ul>
        </div>
    </div> -->
    <div class="flexigrid">
        <!-- 操作说明 -->
        <div id="explanation" class="explanation" style="color: rgb(44, 188, 163); background-color: rgb(237, 251, 248); width: 99%; height: 100%;">
            <div id="checkZoom" class="title"><i class="fa fa-lightbulb-o"></i>
                <h4 title="提示相关设置操作时应注意的要点">提示</h4>
                <span title="收起提示" id="explanationZoom" style="display: block;"></span>
            </div>
            <ul>
                <li>会员字段有效扩展注册流程时收集更多会员信息，按需求新建字段。</li>
            </ul>
        </div>
		<div class="mDiv">
		    <div class="ftitle">
		        		            <div class="fbutton">
		                <a href="javascript:void(0);" data-href="/login.php?m=admin&c=Member&a=attr_add&lang=cn"  onclick="openFullframe(this, '新增字段', '900px', '560px');">
		                    <div class="add" title="新增字段">
		                        <span><i class="layui-icon layui-icon-addition"></i>新增字段</span>
		                    </div>
		                </a>
		            </div>
		        		    </div>
		</div>
        <div class="hDiv">
            <div class="hDivBox">
                <table cellspacing="0" cellpadding="0" style="width: 100%">
                   <thead>
                    <tr>
                        
                        <th abbr="article_title" axis="col3" class="w40">
                            <div class="tc">ID</div>
                        </th>
                        <th abbr="ac_id" axis="col4">
                            <div class="text-l10">字段名称</div>
                        </th>
                        <th abbr="article_time" axis="col4" class="w150">
                            <div class="tc">字段类型</div>
                        </th>
                        <th abbr="ac_id" axis="col4" class="w80">
                            <div class="tc">字段必填</div>
                        </th>
                        <th abbr="ac_id" axis="col4" class="w80">
                            <div class="tc">字段状态</div>
                        </th>
                        <th axis="col1" class="w120">
                            <div class="tc">操作</div>
                        </th>
                        <th abbr="article_time" axis="col6" class="w60">
                            <div class="tc">排序</div>
                        </th>
                    </tr>
                    </thead> 
                </table>
            </div>
        </div>
        <div class="bDiv" style="height: auto;">
            <div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
                <table style="width: 100%">
                    <tbody>
                                            <tr>
                            
                            <td class="sort">
                                <div class="w40 tc">2</div>
                            </td>
                            <td style="width: 100%">
                                <div class="text-l10">
                                                                            <a href="javascript:void(0);" data-href="/login.php?m=admin&c=Member&a=attr_edit&id=2&lang=cn" onclick="openFullframe(this, '编辑字段', '900px', '560px');">邮箱地址</a>
                                                                    </div>
                            </td>
                            <td>
                                <div class="w150 tc">
                                   邮箱地址                                </div>
                            </td>
                            <td>
                                <div class="w80 tc">
                                                                            <span class="yes" onClick="changeTableVal('users_parameter','para_id','2','is_required',this);"><i class="fa fa-check-circle"></i>是</span>
                                                                    </div>
                            </td>
                            <td>
                                <div class="w80 tc">
																		<span class="yes"  onClick="changeTableVal('users_parameter','para_id','2','is_hidden',this);"  data-yestext='<i class="fa fa-check-circle"></i>启用' data-notext='<i class="fa fa-ban"></i>禁用' data-value='1'><i class="fa fa-check-circle"></i>启用</span>
									                                </div>
                            </td>
                            <td class="operation">
                                <div class="w120 tc">
                                                                        <a href="javascript:void(0);" data-href="/login.php?m=admin&c=Member&a=attr_edit&id=2&lang=cn" class="btn blue" onclick="openFullframe(this, '编辑字段', '900px', '560px');">编辑</a>
                                                                            	<i></i>
                                            <a class="btn grey"  href="javascript:void(0);">删除</a>
                                                                        </div>
                            </td>
                             <td class="sort">
                                <div class="w60 tc">
                                                                        <input class="tc" type="text" onchange="changeTableVal('users_parameter','para_id','2','sort_order',this);"  size="4"  value="1" />
                                                                    </div>
                            </td>
                        </tr>
                                                <tr>
                            
                            <td class="sort">
                                <div class="w40 tc">1</div>
                            </td>
                            <td style="width: 100%">
                                <div class="text-l10">
                                                                            <a href="javascript:void(0);" data-href="/login.php?m=admin&c=Member&a=attr_edit&id=1&lang=cn" onclick="openFullframe(this, '编辑字段', '900px', '560px');">手机号码</a>
                                                                    </div>
                            </td>
                            <td>
                                <div class="w150 tc">
                                   手机号码                                </div>
                            </td>
                            <td>
                                <div class="w80 tc">
                                                                            <span class="no" onClick="changeTableVal('users_parameter','para_id','1','is_required',this);"><i class="fa fa-ban"></i>否</span>
                                                                    </div>
                            </td>
                            <td>
                                <div class="w80 tc">
																		<span class="yes"  onClick="changeTableVal('users_parameter','para_id','1','is_hidden',this);"  data-yestext='<i class="fa fa-check-circle"></i>启用' data-notext='<i class="fa fa-ban"></i>禁用' data-value='1'><i class="fa fa-check-circle"></i>启用</span>
									                                </div>
                            </td>
                            <td class="operation">
                                <div class="w120 tc">
                                                                        <a href="javascript:void(0);" data-href="/login.php?m=admin&c=Member&a=attr_edit&id=1&lang=cn" class="btn blue" onclick="openFullframe(this, '编辑字段', '900px', '560px');">编辑</a>
                                                                            	<i></i>
                                            <a class="btn grey"  href="javascript:void(0);">删除</a>
                                                                        </div>
                            </td>
                             <td class="sort">
                                <div class="w60 tc">
                                                                        <input class="tc" type="text" onchange="changeTableVal('users_parameter','para_id','1','sort_order',this);"  size="4"  value="1" />
                                                                    </div>
                            </td>
                        </tr>
                                            </tbody>
                </table>
            </div>
            <div class="iDiv" style="display: none;"></div>
        </div>
    </div>
</div>
<script>
    $(document).ready(function(){
        // 表格行点击选中切换
        $('#flexigrid > table>tbody >tr').click(function(){
            $(this).toggleClass('trSelected');
        });

        // 点击刷新数据
        $('.fa-refresh').click(function(){
            location.href = location.href;
        });
    });

    // 删除
    function usersdel(obj){
        layer.confirm('确认彻底删除？该属性的数据将一起清空。', {
            shade: layer_shade,
            area: ['480px', '190px'],
            move: false,
            title: '提示',
            btnAlign:'r',
            closeBtn: 3,
            btn: ['确定','取消'] ,//按钮
            success: function () {
                  $(".layui-layer-content").css('text-align', 'left');
              }
        }, function(){
            layer_loading('正在处理');
            // 确定
            $.ajax({
                type : 'post',
                url : $(obj).attr('data-url'),
                data : {del_id:$(obj).attr('data-id'),_ajax:1},
                dataType : 'json',
                success : function(data){
                    layer.closeAll();
                    if(data.code == 1){
                        layer.msg(data.msg, {icon: 1});
                        window.location.reload();
                    }else{
                        layer.alert(data.msg, {icon: 2, title:false});
                    }
                }
            })
        }, function(index){
            layer.close(index);
        });
        return false;
    }
</script>

<div id="goTop">
    <a href="JavaScript:void(0);" id="btntop">
        <i class="fa fa-angle-up"></i>
    </a>
    <a href="JavaScript:void(0);" id="btnbottom">
        <i class="fa fa-angle-down"></i>
    </a>
</div>

<script type="text/javascript">
    $(document).ready(function(){
        $('#think_page_trace_open').css('z-index', 99999);
    });
</script>
</body>
</html>